package ChainOfResponsibility;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author ling007
 * @date 2024/5/24 10:33
 * @desciption: 订单创建参数必填检验
 */
@Component
//@Slf4j
public final class OrderCreateParamNotNullChainHandler implements OrderCreateChainHandler<OrderCreateCommand>{
    @Override
    public void handler(OrderCreateCommand requestParam) {
        //逻辑代码处理
        System.out.println("订单创建参数必填检验");
    }

    @Override
    public int getOrder() {
        return 0;
    }
}
